.class final Lcom/estrongs/android/pop/utils/p$u;
.super Ljava/lang/Object;
.source "FileOperateUtils.java"

# interfaces
.implements Les/y80;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/util/List;Lcom/estrongs/fs/g;ZZLes/z80;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Z

.field final synthetic b:Ljava/util/List;

.field final synthetic c:Landroid/app/Activity;


# direct methods
.method constructor <init>(ZLjava/util/List;Landroid/app/Activity;)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/pop/utils/p$u;->a:Z

    iput-object p2, p0, Lcom/estrongs/android/pop/utils/p$u;->b:Ljava/util/List;

    iput-object p3, p0, Lcom/estrongs/android/pop/utils/p$u;->c:Landroid/app/Activity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/s80;Z)V
    .locals 8

    .line 1
    iget-boolean p2, p0, Lcom/estrongs/android/pop/utils/p$u;->a:Z

    if-eqz p2, :cond_0

    const-string p2, "copy_to"

    goto :goto_0

    :cond_0
    const-string p2, "paste"

    :goto_0
    move-object v0, p2

    .line 2
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/p$u;->b:Ljava/util/List;

    invoke-static {p2}, Lcom/estrongs/android/pop/utils/p;->c(Ljava/util/List;)Ljava/lang/String;

    move-result-object v2

    const-wide/16 v3, 0x0

    .line 3
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/p$u;->b:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    move-wide v4, v3

    :goto_1
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/g;

    .line 4
    invoke-interface {v1}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v6

    add-long/2addr v4, v6

    goto :goto_1

    .line 5
    :cond_1
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/p$u;->c:Landroid/app/Activity;

    check-cast p2, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p2

    .line 6
    invoke-static {p2}, Lcom/estrongs/android/statistics/c;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 7
    invoke-virtual {p1}, Les/s80;->m()I

    move-result p2

    const/4 v3, 0x4

    if-ne p2, v3, :cond_2

    const/4 p2, 0x1

    const/4 v3, 0x1

    goto :goto_2

    :cond_2
    const/4 p2, 0x0

    const/4 v3, 0x0

    .line 8
    :goto_2
    invoke-virtual {p1}, Les/s80;->l()Les/u80;

    move-result-object p1

    iget v6, p1, Les/u80;->a:I

    .line 9
    invoke-static/range {v0 .. v6}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJI)V

    return-void
.end method
